package com.jingdong.service.productType.impl;

import com.jingdong.dao.productType.ProductTypeThreeDao;
import com.jingdong.model.Product_type_three;
import com.jingdong.service.productType.ProductTypeThreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class ProductTypeThreeServiceImpl implements ProductTypeThreeService {
    @Autowired
    private ProductTypeThreeDao typeThreeDao;
    @Override
    public List<Product_type_three> threeTypeList(int twoTypeId) {
        return typeThreeDao.threeTypeList(twoTypeId);
    }

    @Override
    public Product_type_three getById(Long id) {
        return typeThreeDao.getById(id);
    }
}
